package com.endurance.service.impl;

import com.endurance.service.ProductService;
import org.springframework.stereotype.Service;

@Service
public class ProductServiceImpl implements ProductService {


    @Override
    public Integer price(String productName) {
        Integer productPrice = 100;
        System.out.println(productName + "的价格为" + productPrice);
        return productPrice;
    }

    @Override
    public void find() {
        System.out.println("查找商品...");
    }

}
